.loading {
    position: fixed;
    z-index: 99;
    background-color: rgba(0, 0, 0, .3);
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 60px;

    &::before {
        // content: "";
        // border: 4px dashed #fff;
        // display: block;
        // width: 400px;
        // height: 400px;
        // border-radius: 50%;
        // position: absolute;
        // top: 50%;
        // left: 50%;
        // margin-top: -200px;
        // margin-left: -200px;
        // animation: loading 2s infinite linear;

        content: "";
        position: absolute;
        top: 50%;
        left: 50%;
        margin-top: -100px;
        margin-left: -100px;
        width: 200px;
        height: 200px;
        border-radius: 50%;
        background-image: conic-gradient(red, green, blue, purple, red);
        mask-image: radial-gradient(#fff 0px, #fff 80px, #fff 0px, #fff 80px);
        -webkit-mask-image: radial-gradient(transparent 0px, transparent 90px, #fff 0px, #fff 90px);
        animation: loading 1s infinite;
    }
}

@keyframes loading {
    0% {
        transform: rotate(0);
    }

    100% {
        transform: rotate(360deg);
    }
}